﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Video.ascx.cs" Inherits="Controls_Video" %>
<div class="video">
    <script type="text/javascript">
        $(document).ready(function ()
        {
            $("div.video ul .videolink").click(function ()
            {
                $.post("/Services/Handler.ashx?action=video&data=" + $(this).attr("id"), {}, function (data)
                {
                    $(".divvideo").html(data);
                });
                return false;
            });
        });
    </script>
    <h2>
        Thư viện video</h2>
    <div runat="server" id="ltrVideo" class="divvideo">
    </div>
    <ul>
        <asp:Repeater runat="server" ID="rptData">
            <ItemTemplate>
                <li><a class="videolink" href="javascript:;" id='<%#Eval("VIDEO_ID") %>'>
                    <%#Eval("TITLE") %>
                </a></li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    <div class="top">
    </div>
    <div class="bottom">
    </div>
</div>
<!--End .video-->
